<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/common.jsp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
	</head>
	<body bgcolor="#ccddee" link="#000066" vlink="#0066FF" alink="#99FF00">
		<div>
			<table>
				<tr>
					<td>
						<s:fielderror cssStyle="color:red" />
						<s:actionerror cssStyle="color:red" />
					</td>
				</tr>
			</table>
		</div>
		<center>
			<s:form method="post" namespace="/base" theme="simple" action="addFlowtemplatebranch" validate="true"
				 >
				<table width="100%" border=1 align="center" cellpadding="0"
					cellspacing="0" bgcolor="#ccddee">
					<tr>
						<td width="15%" align="right">
							流程分支编号:
						</td>
						<td width="30%">
							<s:textfield name="flowtemplatebranch.branchno" theme="simple" required="true"></s:textfield>
						</td>
						<td align="left">
						</td>
					</tr>
					<tr>
						<td width="15%" align="right">
							流程步骤编号:
						</td>
						<td width="30%">
							<s:textfield name="flowtemplatebranch.flowtemplatedetail.seq" theme="simple" required="true" readonly="true"></s:textfield>
						</td>
						<td align="left">
						</td>
					</tr>					
					<tr>
						<td width="15%" align="right">
							流程分支序列号:
						</td>
						<td width="30%">
							<s:textfield name="flowtemplatebranch.branchseq" theme="simple" required="true"></s:textfield>
						</td>
						<td align="left">
						</td>
					</tr>
					<tr>
						<td width="15%" align="right">
							流程状态:
						</td>
						<td width="30%">
							<s:select name="flowtemplatebranch.datadict.typeid" list="datadictlist" 
									listKey="typeid" 
									listValue="name"
									headerKey="0" headerValue="请选择"
									theme="simple"></s:select>
						</td>
						<td align="left">
						</td>
					</tr>
					<tr>
						<td width="15%" align="right">
							卡类型:
						</td>
						<td width="30%">
							<s:select name="flowtemplatebranch.cardsubtype.cardsubtypeno" list="cardsubtypelist" 
									listKey="cardsubtypeno" 
									listValue="cardsubtypename"
									headerKey="0" headerValue="请选择"
									theme="simple"></s:select>
						</td>
						<td align="left">
						</td>
					</tr>
					<tr>
						<td width="15%" align="right">
							执行角色:
						</td>
						<td width="30%">
							<s:select name="flowtemplatebranch.rule.ruleno" list="rulelist" 
									listKey="ruleno" 
									listValue="rulename"
									headerKey="0" headerValue="请选择"
									theme="simple"></s:select>
						</td>
						<td align="left">
						</td>
					</tr>
					<tr>
						<td width="15%" align="right">
							流程执行点标识:
						</td>
						<td width="30%">
							<s:textfield name="flowtemplatebranch.runpoint" theme="simple" required="true"></s:textfield>
						</td>
						<td align="left">
						</td>
					</tr>
					<tr>
						<td width="15%" align="right">
							是否为默认分支:
						</td>
						<td width="30%">
							  <s:radio name="flowtemplatebranch.defaultrun" value="false" list="#{true:'是', false:'否'}" />
						</td>
						<td align="left">
						</td>
					</tr>
					<tr>
						<td width="15%" align="right">
							流程备注:
						</td>
						<td width="30%">
							<s:textarea name="flowtemplatebranch.remark" theme="simple" required="true" cssStyle="width:100%"></s:textarea>
						</td>
						<td align="left">
						</td>
					</tr>		
				</table>
				<br />
				<br />
				<table>
					<tr>
						<td>
							<input type="submit" value=" 增 加 "/>
						</td>
					</tr>
				</table>
			</s:form>
		</center>

	</body>
</html>